﻿using System;
using System.Web;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using AnyOffice.Components;
using AnyOffice.DAL;
using AnyOffice.Model;
namespace AnyOffice.general.system.workflow.flow_form
{
    public partial class form_new : ModulePage
    {       
        protected void Page_Load(object sender, EventArgs e)
        {
            if (this.Page.IsPostBack)
            {
                FlowFormTypeData data = new FlowFormTypeData();
                FlowFormTypeDao dao = new FlowFormTypeDao();
                data.FormName = this.txtFormName.Text;
                dao.Insert(base.Conn, data);
                this.pnlMain.Visible = false;
                this.litMessage.Text = base.ShowPrompt("新建表单成功！", "index.aspx");
            }
        }
    
    }
}

